package com.sc1905.crane.pojo;

import java.io.Serializable;
import java.util.Date;

public class NConsume implements Serializable {
    private Integer consumeid;

    private Integer consumerid;

    private Integer chapterid;

    private Short consumetype;

    private Integer consumemoney;

    private String consumemess;

    private Date consumetime;

    private static final long serialVersionUID = 1L;

    public Integer getConsumeid() {
        return consumeid;
    }

    public void setConsumeid(Integer consumeid) {
        this.consumeid = consumeid;
    }

    public Integer getConsumerid() {
        return consumerid;
    }

    public void setConsumerid(Integer consumerid) {
        this.consumerid = consumerid;
    }

    public Integer getChapterid() {
        return chapterid;
    }

    public void setChapterid(Integer chapterid) {
        this.chapterid = chapterid;
    }

    public Short getConsumetype() {
        return consumetype;
    }

    public void setConsumetype(Short consumetype) {
        this.consumetype = consumetype;
    }

    public Integer getConsumemoney() {
        return consumemoney;
    }

    public void setConsumemoney(Integer consumemoney) {
        this.consumemoney = consumemoney;
    }

    public String getConsumemess() {
        return consumemess;
    }

    public void setConsumemess(String consumemess) {
        this.consumemess = consumemess == null ? null : consumemess.trim();
    }

    public Date getConsumetime() {
        return consumetime;
    }

    public void setConsumetime(Date consumetime) {
        this.consumetime = consumetime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", consumeid=").append(consumeid);
        sb.append(", consumerid=").append(consumerid);
        sb.append(", chapterid=").append(chapterid);
        sb.append(", consumetype=").append(consumetype);
        sb.append(", consumemoney=").append(consumemoney);
        sb.append(", consumemess=").append(consumemess);
        sb.append(", consumetime=").append(consumetime);
        sb.append("]");
        return sb.toString();
    }
}